<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>phpns : {current_page_name}</title>
	<link rel="stylesheet" href="{prepath}styles/main.css" type="text/css" media="screen" />
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="{prepath}script/expand.js"></script>
	{javascript}
	</head>
	
	<body class="body">
		<noscript>Javascript is disabled on your browser, which will result in reduced features and limited accessability.</noscript>
		<div id="head_container">
			<h1><a href="index.php">phpns : The open source PHP News System</a></h1>
			<h3>{username} | <a href="javascript:if(confirm='Are you sure you want to logout?') top.location='login.php?do=logout'" class="logout_link" title="logout as {username}">logout</a></h3>
		</div>
		<div id="main_container">
			<div id="main_content">
				{page_image}
				<div id="navigation"> <!-- navigation start -->
			<ul>
				<li><a href="index.php" title="phpns index">index</a></li>
				<li><a href="article.php" title="post a new article">new article</a></li>
				<li><a href="manage.php" title="manage current articles">article management</a></li>
				<li><a href="user.php" title="manage user profiles">user management</a></li>
				<li><a href="preferences.php" title="modify phpns preferences">preferences</a></li>
				<li class="slast"><a href="about.php" title="about the phpns project">about</a></a></li>
				<!-- <li class="last"><a href="javascript:if(confirm='Are you sure you want to logout?') top.location='login.php?do=logout'" title="logout as {username}">logout ({username})</a></li> -->

			</ul>
		</div> <!-- navigation end -->
				
				<h2>{current_page_name}</h2>
				<p class="caps">{page_desc}</p>
				
				{content}
			</div>
		</div>
		<div id="copyright"> <!-- bottom notice/copyright -->
	phpns {version} is released under the GPL license, by <a href="http://phpns.com">phpns.com</a> | Valid CSS/XHTML (semantic) | <a href="javascript:new_window('help.php#{current_page_name}');">Help</a>
	</div>
	</body>
	<!-- Done. :) If you need something, contact me at alecwh{at}gmail.com -->
</html>
